package com.inno.launcher.bean;

import java.io.Serializable;
import java.util.List;

/**
 * @author (zijie)
 * @datetime 2021-10-27 17:39
 * @email hezijie@inno-cn.cn
 * @detali：
 */

public class TestBean implements Serializable {


    /**
     * pageNum : 1
     * pageSize : 20
     * size : 20
     * startRow : 1
     * endRow : 20
     * total : 30
     * pages : 2
     * list : [{"id":52,"appName":"掌门少儿","fileSize":152.35,"iconPath":"http://innocn-app-market.oss-cn-shenzhen.aliyuncs.com/%E6%8E%8C%E9%97%A8%E5%B0%91%E5%84%BF.png?Expires=4785529508&OSSAccessKeyId=LTAI5tQv7BvZWYcYxP399HLi&Signature=ODiF1OP1EKLQ03hh%2FVLBiWru6Pw%3D","filePath":"com.zhangmen.kids.apad_5200.apk","packageName":"com.zhangmen.kids.apad","desc":"","versionCode":"5200","updateTime":"2021-09-22T10:11:21.000+0000","category":"0","isRecommend":0,"oneStar":0,"twoStar":0,"threeStar":0,"fourStar":0,"fiveStar":0,"state":"0","downloadNum":2}]
     */

    private int pageNum;
    private int pageSize;
    private int size;
    private int startRow;
    private int endRow;
    private int total;
    private int pages;
    private List<ListBean> list;

    @Override
    public String toString() {
        return "TestBean{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", size=" + size +
                ", startRow=" + startRow +
                ", endRow=" + endRow +
                ", total=" + total +
                ", pages=" + pages +
                ", list=" + list +
                '}';
    }

    public static class ListBean implements Serializable {
        /**
         * id : 52
         * appName : 掌门少儿
         * fileSize : 152.35
         * iconPath : http://innocn-app-market.oss-cn-shenzhen.aliyuncs.com/%E6%8E%8C%E9%97%A8%E5%B0%91%E5%84%BF.png?Expires=4785529508&OSSAccessKeyId=LTAI5tQv7BvZWYcYxP399HLi&Signature=ODiF1OP1EKLQ03hh%2FVLBiWru6Pw%3D
         * filePath : com.zhangmen.kids.apad_5200.apk
         * packageName : com.zhangmen.kids.apad
         * desc :
         * versionCode : 5200
         * updateTime : 2021-09-22T10:11:21.000+0000
         * category : 0
         * isRecommend : 0
         * oneStar : 0
         * twoStar : 0
         * threeStar : 0
         * fourStar : 0
         * fiveStar : 0
         * state : 0
         * downloadNum : 2
         */

        private int id;
        private String appName;
        private double fileSize;
        private String iconPath;
        private String filePath;
        private String packageName;
        private String desc;
        private String versionCode;
        private String updateTime;
        private String category;
        private int isRecommend;
        private int oneStar;
        private int twoStar;
        private int threeStar;
        private int fourStar;
        private int fiveStar;
        private String state;
        private int downloadNum;

        @Override
        public String toString() {
            return "ListBean{" +
                    "id=" + id +
                    ", appName='" + appName + '\'' +
                    ", fileSize=" + fileSize +
                    ", iconPath='" + iconPath + '\'' +
                    ", filePath='" + filePath + '\'' +
                    ", packageName='" + packageName + '\'' +
                    ", desc='" + desc + '\'' +
                    ", versionCode='" + versionCode + '\'' +
                    ", updateTime='" + updateTime + '\'' +
                    ", category='" + category + '\'' +
                    ", isRecommend=" + isRecommend +
                    ", oneStar=" + oneStar +
                    ", twoStar=" + twoStar +
                    ", threeStar=" + threeStar +
                    ", fourStar=" + fourStar +
                    ", fiveStar=" + fiveStar +
                    ", state='" + state + '\'' +
                    ", downloadNum=" + downloadNum +
                    '}';
        }
    }
}
